<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box {
            margin:10px;
            width:100px;
            height:100px;
            background-color:#000 ;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="box"></div>
        <!-- div 并不具有创建BFC的能力  
        BFC 拥有独立的不受外界影响的行的格式上下文 
       FFC = BFC +Flex   -->
       <div style="overflow: hidden;"> 
        <div class="box">

       </div>
       </div>
    </div>
</body>
</html>